package com.xyulu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyulu.entity.BlogCommentsEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lumin
 * @since 2021-02-25
 */
public interface BlogCommentsService extends IService<BlogCommentsEntity> {

    List<BlogCommentsEntity> handleComments(List<BlogCommentsEntity> parents);

    void AddReplyNum(Integer replyTo);

    List<BlogCommentsEntity> listComments(Integer blogId);
}
